define(['jquery', 'text!../../Content/team-navigation/team-navigation.html', 'common', 'knockout'], function($, html, common, ko){

	var container;

	function init(c){
		container = $(c);
		container.html(html);
		loadTeamNav();
	}

	var viewModel = {
		Documents : ko.observable()
	};

	function loadTeamNav(){
		common.service('sideBarLeftNav.json').success(function(data){
			viewModel.Documents = data;
			ko.applyBindings(viewModel, container[0]);
		});
	}

	return {
		"init" : init
	};

});